From: Sean Whitton Date: Thu, 7 Jul 2022 03:34:33 +0000 (-0700) Subject: gnus-advanced-body: Fix return value X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~1886^2~1130 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=dafbdb87ecccd347bc120816c29f4b7909bc73ca;p=emacs.git gnus-advanced-body: Fix return value * gnus-logic.el (gnus-advanced-body): Return whether the search succeeded, not the value of one of the cleanup forms. --- diff --git a/lisp/gnus/gnus-logic.el b/lisp/gnus/gnus-logic.el index 3fb2ed3c626..c1b559ba6f4 100644 --- a/lisp/gnus/gnus-logic.el +++ b/lisp/gnus/gnus-logic.el @@ -224,8 +224,8 @@ (goto-char (point-min)) (prog1 (funcall search-func match nil t) - (widen))) - (when handles (mm-destroy-parts handles)))))) + (widen) + (when handles (mm-destroy-parts handles)))))))) (provide 'gnus-logic)